package 设计模式.适配器模式.类适配器;

/**
 * @description:
 * @author: asd
 * @time: 2022/11/23 22:39
 */
public class Phone {
    public void power(five f){
        if(f.output() == 5){
            System.out.println("5v，power");
        }else {
            System.out.println("can't power");
        }
    }
}
